Skip to main content

unlock screen

Type​

command

Summary​

Sets the lockScreen property to false, updating the screen and displaying any changes made since the screen was locked.

Syntax​

unlock screen [with visual [effect] <effectName> [<speed>] [to <finalImage>] [with sound <audioClip>]]

Description​

Use the unlock screen command to allow changes to the screen appearance to be seen.

The unlock screen command sets the lockScreen property to false. When all pending handlers are finished executing, the lockScreen property is automatically set to false.

Parameters​

NameTypeDescription

effectName

Works as described in the visual effect command.

speed

Works as described in the visual effect command.

finalImage

Works as described in the visual effect command.

audioClip

Works as described in the visual effect command.

Examples​

lock screen
hide image 1
unlock screen
lock screen for visual effect
hide image 1
show control 1
unlock screen with visual effect dissolve
lock screen
show field 1
unlock screen with visual barn door open to white with sound "Yelp"

command: lock screen, unlock cursor, unlock error dialogs, unlock moves, unlock recent, visual effect

glossary: command, execute, handler, lock, property

property: allowFieldRedraw, lockScreen

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

mobile

Thank you for your feedback!

Was this page helpful?